<?php

namespace app\popo\model;

use support\Model;

/**
 * shopping_cart 购物车
 * @property integer $id 主键(主键)
 * @property string $name 商品名称
 * @property string $image 图片
 * @property integer $user_id 主键
 * @property integer $dish_id 菜品id
 * @property integer $setmeal_id 套餐id
 * @property string $dish_flavor 口味
 * @property integer $number 数量
 * @property string $amount 金额
 * @property string $create_time 创建时间
 */
class ShoppingCart extends BaseModel
{
    protected $table = 'shopping_cart';
    public $timestamps = false;
    
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name',
        'image', 
        'user_id',
        'dish_id',
        'setmeal_id',
        'dish_flavor',
        'number',
        'amount',
        'create_time'
    ];


}
